live by one's pen

靠写作为生,吃笔墨饭[亦作 make a living with one's pen]